<template>
	<view class="">
		<view style="margin-top: 300rpx; padding:40rpx">
			<u-button type="primary" @click="lot">退出登录</u-button>
		</view>
	</view>
</template>

<script>
	import {
		mapMutations
	} from 'vuex';
 export default{
	 data(){},
	 methods:{
		 ...mapMutations(['logout']),
		 lot(){
			 this.logout()
		 }
	 }
 }
</script>

<style>
</style>